package com.version1_4.dao;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * Created by reeveslee on 16/5/7.
 */
public interface MsgDao {

    public List<Map<String, Object>> topicReplyMsg(int userId, int lastId);

    public List<Map<String, Object>> topicPraiseMsg(int userId, int lastId);

    public Date lastTopicReplyTime(int userId);

    public boolean freshLastTopicReplyTime(int userId);

    public Date lastTopicPraiseTime(int userId);

    public boolean freshLastTopicPraiseTime(int userId);
}
